<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->textFieldRow($model,'id',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'owner_id',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'name',array('class'=>'span5','maxlength'=>250)); ?>

	<?php echo $form->textFieldRow($model,'official_name',array('class'=>'span5','maxlength'=>250)); ?>

	<?php echo $form->textFieldRow($model,'state',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'city',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'country',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'street',array('class'=>'span5','maxlength'=>250)); ?>

	<?php echo $form->textFieldRow($model,'number',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'complement',array('class'=>'span5','maxlength'=>250)); ?>

	<?php echo $form->textFieldRow($model,'neighborhood',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'cep',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'phone',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'fax',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'site',array('class'=>'span5','maxlength'=>250)); ?>

	<?php echo $form->textFieldRow($model,'email',array('class'=>'span5','maxlength'=>250)); ?>

	<?php echo $form->textFieldRow($model,'cnpjl',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'insertion_date',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'federation',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'mandato',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'agency',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'account',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'bank',array('class'=>'span5','maxlength'=>45)); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Pesquisar',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
